<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<div class="com_right">
	<div class="com_pd_s3">
    	<div class="box_s3 mb15">
        	<div class="title">日程</div>
            <ul class="ope_list">
            	<s:if test="#session.member.role.scheduleMang">
            	<li>
                 	<a href="javascript:;" onclick="scheduleAdd()">日程发布</a>
                 </li>
                 </s:if>
            	<li>
                	<a href="schedule!view.do">日程查看</a>
                </li>
                <s:if test="#session.member.role.scheduleMang">
             	<li>
                 	<a href="javascript:;" onclick="scheduleMang()">日程管理</a>
                 </li>
                 
                </s:if>
            </ul>
        </div>
        
        <div class="box_s3">
        	<div class="title">工作日程</div>
            <div id="dateBox">
        		
       		</div>
        </div>
        
        
    </div>
</div>
<script type="text/javascript">
	function scheduleAdd(){
		$("#schedule_list").load("schedule!add.do");
	}
	
	function scheduleMang(){
		$("#schedule_list").load("schedule!manage.do");
	}
</script>